import { getConfigLayout } from "@/utils/cache/local-storage"
import { LayoutModeEnum } from "@/constants/app-key"

/** 默认配置 */
const defaultSettings = {
  layoutMode: LayoutModeEnum.LeftTop,
  showSettings: false,
  showTagsView: true,
  showLogo: true,
  fixedHeader: true,
  showFooter: false,
  showNotify: false,
  showThemeSwitch: false,
  showScreenfull: false,
  showSearchMenu: false,
  cacheTagsView: false,
  showWatermark: true,
  showGreyMode: false,
  showColorWeakness: false
}

/** 项目配置 */
export const layoutSettings = { ...defaultSettings, ...getConfigLayout() }
